package com.zenq.ssm.mapper;

import java.util.List;

import com.zenq.ssm.entity.Product;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer productId);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer productId);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);
    // 根据产品条件查询产品列表
    List<Product> selectByCondition(Product record);
}